package tgc.edu.examxy.entity;

import java.util.UUID;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import org.springframework.data.annotation.CreatedBy;

import tgc.edu.examxy.custom.BaseEntity;

/***
 * 班务日志
 * @author Administrator
 *
 */
@Entity
public class Management extends BaseEntity<UUID>{

	private TbClass tbClass;
	private String time;//时间
	private Student student;
	private String learndiscipline;//学习纪律情况
	private String workdiscipline;//班委会工作纪律
	private String recommendation;//意见
	private String trecommend;//班主任建议
	
	@ManyToOne
	@CreatedBy
	public TbClass getTbClass() {
		return tbClass;
	}
	public void setTbClass(TbClass tbClass) {
		this.tbClass = tbClass;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	@ManyToOne
	@CreatedBy
	public Student getStudent() {
		return student;
	}
	public void setStudent(Student student) {
		this.student = student;
	}
	public String getLearndiscipline() {
		return learndiscipline;
	}
	public void setLearndiscipline(String learndiscipline) {
		this.learndiscipline = learndiscipline;
	}
	public String getWorkdiscipline() {
		return workdiscipline;
	}
	public void setWorkdiscipline(String workdiscipline) {
		this.workdiscipline = workdiscipline;
	}
	public String getRecommendation() {
		return recommendation;
	}
	public void setRecommendation(String recommendation) {
		this.recommendation = recommendation;
	}
	public String getTrecommend() {
		return trecommend;
	}
	public void setTrecommend(String trecommend) {
		this.trecommend = trecommend;
	}
	
	
}
